package com.itheima.String;

import java.util.Scanner;

public class DM06 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println();
        String telString  =sc.nextLine();
        String start = telString.substring(0,3);
        String end = telString.substring(telString.length()-4);
        System.out.println(start+"****"+end);
    }
}
